<include file="Public/mobile_head"/>
<link href="{:ADDON_PUBLIC_PATH}/{$info.temp}/style.css?v={:SITE_VERSION}" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{:ADDON_PUBLIC_PATH}/common.js"></script>
<body>
<div id="container" class="container">
	<div class="bg"></div>
	<div class="card_wrap">
		<div class="head animated slideRightIn">
			<empty name="info['headimgurl']">
				<a class="head_pic" href="{$info.personal_url}"><img src="__IMG__/default.png"/></a>
				<else/>
				<a class="head_pic" href="{$info.personal_url}"><img src="{$info.headimgurl}"/></a>
			</empty>
			<p class="name">{$info.truename}</p>

			<p class="position">{$info.position}</p>
			<a href="javascript:;" class="qrcode_icon qrcode_btn"
			   onClick="$.WeiPHP.showQrcode('扫一扫，进入{$info.truename}的名片','{:U('detail',array('uid'=>$info['uid']))}')">
				&nbsp;</a>
		</div>
		<div class="detail_info animated slideLeftIn">
			<notempty name="info[company]">
				<div class="item"><span class="label">所在公司:</span>

					<p>
						<notempty name="info[company_url]">
							<a href="{$info.company_url}">{$info.company}</a>
							<else/>
							{$info.company}
						</notempty>
					</p>
				</div>
			</notempty>
			<notempty name="info[department]">
				<div class="item"><span class="label">所在部门:</span>

					<p>{$info.department}</p></div>
			</notempty>
			<notempty name="info[service]">
				<div class="item"><span class="label">产品服务:</span>

					<p>{$info.service}</p></div>
			</notempty>
			<notempty name="info[city]">
				<div class="item"><span class="label">所在地区:</span>

					<p>{$info.province} {$info.city} </p></div>
			</notempty>
			<notempty name="info[address]">
				<div class="item"><span class="label">详细地址:</span>

					<p>{$info.address}</p></div>
			</notempty>
			<notempty name="info[mobile]">
				<div class="item"><span class="label">手机号码:</span>

					<p><a href="tel:{$info.mobile}">{$info.mobile}</a></p></div>
			</notempty>
			<notempty name="info[telephone]">
				<div class="item"><span class="label">座机号码:</span>

					<p><a href="tel:{$info.telephone}">{$info.telephone}</a></p></div>
			</notempty>
			<notempty name="info[wechat]">
				<div class="item"><span class="label">微信号:</span>

					<p>{$info.wechat}</p></div>
			</notempty>
			<notempty name="info[qq]">
				<div class="item"><span class="label">QQ:</span>

					<p>{$info.qq}</p></div>
			</notempty>
			<notempty name="info[Email]">
				<div class="item"><span class="label">电子邮件:</span>

					<p><a href="mailto:{$info.Email}">{$info.Email}</a></p></div>
			</notempty>
			<notempty name="info[intro]">
				<div class="item"><span class="label">个人简介:</span>

					<p>{$info.intro}</p></div>
			</notempty>
			<notempty name="info[tag]">
				<div class="item"><span class="label">个人标签:</span>

					<p>{$info.tag}</p></div>
			</notempty>
			<notempty name="info[personal_url]">
				<div class="item"><span class="label">个人主页:</span>

					<p>{$info.personal_url}</p></div>
			</notempty>
		</div>

		<eq name="isShowBtn" value="1">
			<a class="exchange_btn animated slideLeftIn" data-flag="{$isCreate}"
			   data-exurl="{:U ( 'add_collect', array ('to_uid' => $info ['uid'] ))}"
			   data-addurl="{:U( 'add', array ('to_uid' => $info ['uid'] ))}" onClick="exchangeCard(this);"
			   href="javascript:;">交换名片</a>
		</eq>
		<eq name="needDeleteBtn" value="1">
			<a class="exchange_btn del_btn animated slideLeftIn"
			   data-href="{:U('del_collect',array('to_uid'=>$info['uid']))}" data-myurl="{:U('collected')}"
			   onClick="delCard(this);" href="javascript:;">删除名片</a>
		</eq>
		<eq name="info['uid']" value="$mid">
			<div class="edit_tab animated slideLeftIn">
				<a href="{:U('edit',array('id'=>$info[id]))}">修改信息</a>
				<a href="{:U('choose_template',array('id'=>$info[id]))}">切换模板</a>
			</div>
		</eq>
		<p class="copyright">{$system_copy_right}{$tongji_code}</p>
	</div>
	<div class="bottom_menu">
		<a class="back" href="javascript:;" onClick="$.WeiPHP.back();">返回</a>
		<a class="center" href="{:U('detail')}">我的名片</a>
		<a class="collected" href="{:U('collected')}">名片夹</a>
		<a class="share" href="javascript:;" onClick="$.WeiPHP.showShareTips();">一键分享</a>
	</div>
</div>
<include file="Public/mobile_foot"/>
<script type="text/javascript">
	$.WeiPHP.initWxShare({
		title: '{$info.truename}的互联网名片',
		desc: '{$info.position}',
		link: "{:U('detail', array('uid'=>$mid))}",
		imgUrl: '{$info.headimgurl}'
	});
</script>
</body>
</html>